package io.renren.modules.shop.dao;

import io.renren.modules.shop.entity.CarEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.renren.modules.shop.entity.ProductIdEntity;
import io.renren.modules.shop.entity.ShoppingCarsEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 *
 *
 * @author Yangqianyong
 * @email sunlightcs@gmail.com
 * @date 2021-11-17 15:35:51
 */
@Mapper
public interface CarDao extends BaseMapper<CarEntity> {

    List<ShoppingCarsEntity> getShoppingCarts(Long id);

    ShoppingCarsEntity getShoppingCart(Long id,Long pid);

}
